package com.ruoyi.ruoyiqywechat.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.ruoyi.common.qy.domain.User;
import com.ruoyi.common.qy.request.RegisterThirdUserRequest;

import javax.servlet.http.HttpServletRequest;
import java.math.BigDecimal;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * 用户表 服务类
 * +----------------------------------------------------------------------
 * | CRMEB [ CRMEB赋能开发者，助力企业发展 ]
 * +----------------------------------------------------------------------
 * | Copyright (c) 2016~2025 https://www.crmeb.com All rights reserved.
 * +----------------------------------------------------------------------
 * | Licensed CRMEB并不是自由软件，未经许可不能去掉CRMEB相关版权
 * +----------------------------------------------------------------------
 * | Author: CRMEB Team <admin@crmeb.com>
 * +----------------------------------------------------------------------
 */
public interface UserService extends IService<User> {

    User getByPhone(String phone);
    User registerByThird(RegisterThirdUserRequest thirdUserRequest);

    User getInfo();

    Long getUserId();

    User getInfoException();

    boolean bindShareId(HttpServletRequest request, Integer shareId);

    PageInfo<User> querySpIdUserList(HttpServletRequest request,Integer pageNum,Integer pageSize);
}
